package com.zyx.xunyilu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zyx.xunyilu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: UserMapper
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2019/11/10 22:37
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过id显示用户(去掉敏感信息)
     * @param id    用户id
     * @return      去掉敏感信息
     */
    public User selectUserById(@Param("id") Integer id);

}
